package com.repair.repairSys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.repair.common.annotation.Excel;
import com.repair.common.core.domain.BaseEntity;

/**
 * 意见反馈对象 repair_feedback
 * 
 * @author repair
 * @date 2024-12-05
 */
public class RepairFeedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long userId;

    /** 用户openid */
    @Excel(name = "用户openid")
    private String openid;

    /** 用户微信基本信息 */
    @Excel(name = "用户微信基本信息")
    private String userInfo;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 角色 */
    @Excel(name = "角色")
    private Long role;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 反馈内容 */
    @Excel(name = "反馈内容")
    private String content;

    /** 状态 1 待处理 2 已处理 */
    @Excel(name = "状态 1 待处理 2 已处理")
    private Long status;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String result;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setUserInfo(String userInfo) 
    {
        this.userInfo = userInfo;
    }

    public String getUserInfo() 
    {
        return userInfo;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setRole(Long role) 
    {
        this.role = role;
    }

    public Long getRole() 
    {
        return role;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("openid", getOpenid())
            .append("userInfo", getUserInfo())
            .append("name", getName())
            .append("role", getRole())
            .append("phone", getPhone())
            .append("content", getContent())
            .append("status", getStatus())
            .append("result", getResult())
            .append("createTime", getCreateTime())
            .toString();
    }
}
